home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48_2 / dte48 < prev    next >
Text File  |  1995-03-31  |  8KB  |  188 lines

  1. Article 2887 of comp.sys.handhelds:
  2. Path: en.ecn.purdue.edu!noose.ecn.purdue.edu!samsung!zaphod.mps.ohio-state.edu!wuarchive!sdd.hp.com!hp-pcd!hpcvra.cv.hp.com!rnews!hpcvbbs!akcs.kevin
  3. From: akcs.kevin@hpcvbbs.UUCP (Kevin Jessup)
  4. Newsgroups: comp.sys.handhelds
  5. Subject: DT48 Terminal Emulator
  6. Keywords: 3rd upload
  7. Message-ID: <27651642:1409comp.sys.handhelds@hpcvbbs.UUCP>
  8. Date: 11 Dec 90 17:40:11 GMT
  9. Lines: 171
  10.  
  11. For some reason, my previous upload of DTE48 lost some characters.
  12. Let's try it again...
  13.  
  14. A few people have been asking for DTE48, a terminal emulator program
  15. for the 48SX.  Unless someone else out there has created a program
  16. with the same name, here is what you have been asking for...
  17.  
  18. *********************************************************************
  19. *              DOCUMENTATION FILE FOR DTE48  V1.02                  *
  20. *********************************************************************
  21.  
  22. DTE48 is a Dumb Terminal Emulator program for the HP48SX.  "Dumb"
  23. implies that the terminal cannot be read by a remote system or
  24. respond to inquiry commands like a VT100.
  25.  
  26. At least 3 other "terminal" programs have been posted for the 48SX.
  27. All have various limitations.  This one is not necesarily better
  28. than any of the others.
  29.  
  30. Version 1.02 differs from previous versions in that incomming carriage
  31. returns are replaced with an ASCII space before display.  A more
  32. generic SRCHREPL (search and replace) string function has been sustituted
  33. for the previous FILTER function.  Note that SRCHREPL requires MULTI
  34. which is also provided.  Incomming linefeed characters are stripped!
  35. The main program, DTE48, can be modified so as to replace linefeeds with
  36. a space or any other character.
  37.  
  38. FEATURES
  39. --------------------------------------------------------------------
  40. 1.)    Tramsmits upper and lower case as well as all of the ASCII
  41.        control characters.
  42. 2.)    Characters are displayed AS THEY ARRIVE, not only when a full
  43.        line is available.
  44. 3.)    The screen can be paused at any time.  This assumes the trans-
  45.        mitting system handles XON/XOFF protocol and will not time-out
  46.        and start resending!!
  47. 4.)    7 line by 22 character scrolling display.
  48.  
  49. LIMITATIONS
  50. --------------------------------------------------------------------
  51. 1.)    Probably not 100% reliable at 9600 baud.
  52. 2.)    Control characters (ASCII 1 thru 26) are not processed and
  53.        are displayed as a dot.  Checking each individual character
  54.        so as to process tabs, carriage returns and linefeeds slows
  55.        it down too much.  An assembly language version is needed.
  56.  
  57. FILES
  58. --------------------------------------------------------------------
  59. There are five.  DTE48 is the main executable.  KEYMAP is a string
  60. used for keycode translation.  TOGF is a flag toggling function.
  61. SRCHREPL strips or replaces characters in strings.  MULTI performs an
  62. operation till the results no longer change.  Place the files in the
  63. directory of your choice.
  64.  
  65. FILE       BYTES       CHECKSUM (HEX)
  66. --------   -----       --------------
  67. DTE48      636.0       # 81C8
  68. SRCHREPL   145.5       # FD08
  69. KEYMAP     304.5       # 5BFC
  70. TOGF        38.5       # 921E
  71. MULTI       56.0       # 8FCF
  72.  
  73. RUNNING IT
  74. --------------------------------------------------------------------
  75. Setup the 48SX I/O for the required baud rate and enable XON/XOFF
  76. protocol.  If you don't know what that means, read the manual!
  77. Hit DTE48 to run.  Here is an example of the IOPAR list with XON/XOFF
  78. enabled:   { 4800 0 1 1 3 3 }
  79.  
  80. Characters will be displayed starting on the bottom line and lines
  81. will scroll upwards as needed.
  82.  
  83. KEY        UNSHIFTED RESULT   LEFT SHIFTED RESULT   RIGHT SHIFTED RESULT
  84. --------   ----------------   -------------------   --------------------
  85. A          a                  A                     ^A (ASCII 1)
  86. B          b                  B                     ^B (ASCII 2)
  87. C          c                  C                     ^C (ASCII 3)...
  88.  
  89. Z          z                  Z                     ^Z (ASCII 26)
  90.  
  91. 1          1                  !
  92. 2          2                  @
  93. 3          3                  #
  94. 4          4                  $
  95. 5          5                  %
  96. 6          6                  ^
  97. 7          7                  &
  98. 8          8                  *
  99. 9          9                  (
  100. 0          0                  )
  101. *          *                  ,
  102. -          -                  _    (underscore)
  103. +          +                  =
  104. .          .                  <
  105. SPC        space              >
  106. <-         backspace          delete
  107. ENTER      carriage return    linefeed
  108. DEL        QUIT               QUIT
  109.  
  110.                                                   
  111. Hitting the ALPHA key will pause the display.  Hit it again to
  112. continue.  The left shift and right shift keys are active for
  113. one keystroke only.
  114.  
  115. All keys not defined above generate a space.
  116.  
  117. DISCLAIMERS
  118. ------------------------------------------------------------------
  119. NOTHING is guaranteed.  I may or may not provide new and/or assembly
  120. language versions.  Use it at your own risk.  Hack away at it and repost
  121. only if you give me credit for the original version.
  122.  
  123. Kevin Jessup
  124. 9118 N. 85th St
  125. Milwaukee, WI 53224
  126.  
  127. Office:    (414) 362-2020
  128. Home:      (414) 355-9752
  129.  
  130. Here is the ASCII string for the DTE48 directory object.  Use ASC->
  131. to convert it...
  132.  
  133. [CUT HERE]
  134. %%HP: T(1)A(D)F(.);
  135. "69A20FF7349000000050D455C4459450D9D20E16321C432D6E201007E16323C0
  136. 3278BF1D6E201007EB3A1DE03278BF1E0CF1167E19B632EF53293632B2130B60
  137. 004045F4746440D9D20E16323CE2278BF1313C1AFE225D2C15BF22472C15DF22
  138. 93632B2130840008035253484255405C480D9D20E163292CF18B9C11C432D6E2
  139. 01087D6E201097D6E201037E1632C9432D9D20E163278BF13CE22D6E2010874B
  140. AC178BF1AFE22D9D202ABF19C2A290DA19C2A2DBBF1C58C13F2A20DCF1D6E201
  141. 03776BA192CF18B9C1C58C1D6E201097DBBF176BA176BA1B21305BF228DBF15D
  142. F2293632B213084E2050D455C44594EF53293632B2130E110060B45495D41405
  143. 60C2A20742000202020202020202020216263646566602020202768696A6B6C6
  144. 02020202D6E6F60717270202020237475767778702020202D097A70280020202
  145. 020202738393F2020202020202435363A2020202020202132333D20202020202
  146. 0203E202B20202020202020202020214243444546402020202748494A4B4C402
  147. 020202D4E4F40515250202020235455565758502020202A095A502F702020202
  148. 020262A282E70202020202024252E5C2020202020202120432F5020202020202
  149. 92E3C3D30202020202020202020210203040506002020202708090A0B0C00202
  150. 0202D0E0F001112102020202314151617181020202020291A102020202020202
  151. 0202020202020202020202020202020202020202020202020202020202020202
  152. 02020202020202C520050444554438350D9D20E16329C2A2ED2A23F2A25D2C15
  153. D2C15D2C1858A15BE12C2A2050000C2A2050000C2A2050000C2A2050000C2A20
  154. 50000C2A2050000C2A20500003C0323CE22780228DBF178BF19C2A2063C1387E
  155. 1AFE22D9D203CE2278BF1339201000000000000220D5CE1AFE22D9D208DBF133
  156. 9201000000000000220B21305DF2259E128DBF1C2A2070000A0C2A205000084E
  157. 208035253484255405C433920100000000000031066BC1C2A20700000284E208
  158. 035253484255405C476BA13CE2278BF18B9C178BF1339201000000000000220D
  159. 5CE1AFE22D9D2092CF1339201000000000000320E0CF1C58C1DBBF19C2A23392
  160. 01000000000000220C58C1DBBF1C53A25BCF18DBF1B21305BF228DBF15DF229C
  161. 2A2743A20A132D6E201096D6E201096A9CF1C53A2D6E20109690DA1485A1C423
  162. 2B21305BF228DBF15DF223CE22378A1AFE22D9D20D8732D9D2078BF133920100
  163. 0000000000450279E18A7329C2A25DF2278BF1339201000000000000160279E1
  164. 8A732D9D209C2A284E204045F474648DBF14B2A2B21305DF2278BF1339201000
  165. 000000000170279E18A732D9D20ED2A284E204045F474648DBF14B2A2B21305D
  166. F2278BF1339201000000000000180279E18A732D9D203F2A284E204045F47464
  167. 8DBF14B2A2B21305DF223CE22ED2A2313C1AFE22D9D20ED2A25D2C1339201000
  168. 00000000059076BA1B21305DF223CE223F2A2313C1AFE22D9D203F2A25D2C133
  169. 920200000000000091076BA1B21305DF2284E2060B45495D41405DBBF178BF1C
  170. 58C13CE2257E12F88E1AFE228DBF15DF224B2A2B21305DF22B21305BF224B2A2
  171. 5DF22DE0329B632C53A246CF15DE129C2A2ED2A23F2A25D2C15D2C15D2C19363
  172. 2B21303F4005094F40514255047A203392030000000000008404B2A29C2A29C2
  173. A23F2A23F2A2B2130CACE"
  174.  
  175. [ignore this advice -wayne]
  176. Make sure all carriage return characters (0d hex) are removed from
  177. the ASCII string before you attempt to checksum it or convert it
  178. using ASC-> .
  179. [ignore this advice -wayne]
  180.  
  181. Checksum for ASCII string (string on stack): D25F hex
  182. Byte count: 2508.5
  183.  
  184. This is my third attempt at uploading this bugger.  I am using procomm+
  185. in ASCII upload mode via the 2400 baud HPBBS.  I hope it works this time!
  186.  
  187.  
  188.